package org.example.mallchat.service;

import me.chanjar.weixin.common.bean.WxOAuth2UserInfo;
import me.chanjar.weixin.mp.api.WxMpService;
import me.chanjar.weixin.mp.bean.message.WxMpXmlMessage;
import me.chanjar.weixin.mp.bean.message.WxMpXmlOutMessage;

import java.io.UnsupportedEncodingException;

/**
 * @author: zzh
 * @date: 2024/12/18 09:04:24
 * @version: 1.0
 */
//微信消息服务接口
public interface WxMsgService {
    // 扫码显示授权登录信息
    WxMpXmlOutMessage scan(WxMpService wxMpService, WxMpXmlMessage wxMessage) throws UnsupportedEncodingException;

    void authorize(WxOAuth2UserInfo userInfo);
}
